
#include"Thread.hpp"


int main()
{
    bit_thread::Thread t([](){
        while(true)
        {
            std::cout << "hello bit" << std::endl;
            sleep(1);
        }
    });
    t.Start();
    std::cout << "线程名称" << t.Name() << "启动成功" << std::endl;
    t.Join();

    return 0;
}